/*
 *  Licensed to PECATS under one or more contributor license agreements below:
 *  1. http://www.mozilla.org/MPL/MPL-1.1.html
 *  2. http://www.gnu.org/licenses/gpl-2.0.html
 *  3. http://www.gnu.org/licenses/lgpl-2.1.html
*/

/* **********************************************************
*  Class for Customer's Account Information
*  Name: Accout.java
*  Author: www.pecats.com
*  Date: Sep 15, 2008
************************************************************/

package com.pecats.server.core;

import java.util.Set;
import java.util.HashSet;
import java.sql.Timestamp;

import com.pecats.server.core.Customer;


/**
 * Used to store account details of a customer
 */

public class Account {

    private Long accountid;
    private int balance;
    private int files;
    private int size;
    private Timestamp time;
    private String payment;
    private String txnid;

    private Set customers = new HashSet();
    
    public Account() 
    {
    }

    public Set getCustomers() {
       return customers;
    }

    public void setCustomers(Set customers) {
        this.customers = customers;
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public int getFiles() {
        return files;
    }

    public void setFiles(int files) {
        this.files = files;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getTxnid() {
        return txnid;
    }

    public void setTxnid(String txnid) {
        this.txnid = txnid;
    }

}